home *** CD-ROM | disk | FTP | other *** search
/ Apple Reference & Presen…rary 8 (Internal Edition) / Apple R&P Lib Internal v8.0.iso / 3-Presentations / Service⁄Support⁄Training / Self-Paced Training / Macintosh LC Training / Macintosh LC Training⁄C / Macintosh LC Training_C / background_27046.xml < prev    next >
Encoding:
Extensible Markup Language  |  1990-06-24  |  11.2 KB  |  328 lines

  1. <?xml version="1.0" encoding="utf-8" ?>
  2. <!DOCTYPE background PUBLIC "-//Apple, Inc.//DTD background V 2.0//EN" "" >
  3. <background>
  4.     <id>27046</id>
  5.     <filler1>0</filler1>
  6.     <bitmap>BMAP_27479.pbm</bitmap>
  7.     <cantDelete> <false /> </cantDelete>
  8.     <showPict> <true /> </showPict>
  9.     <dontSearch> <false /> </dontSearch>
  10.     <link rel="stylesheet" type="text/css" href="stylesheet_3080.css" />
  11.     <part>
  12.         <id>1</id>
  13.         <type>field</type>
  14.         <visible> <true /> </visible>
  15.         <dontWrap> <false /> </dontWrap>
  16.         <dontSearch> <false /> </dontSearch>
  17.         <sharedText> <false /> </sharedText>
  18.         <fixedLineHeight> <true /> </fixedLineHeight>
  19.         <autoTab> <false /> </autoTab>
  20.         <lockText> <true /> </lockText>
  21.         <rect>
  22.             <left>428</left>
  23.             <top>413</top>
  24.             <right>625</right>
  25.             <bottom>430</bottom>
  26.         </rect>
  27.         <style>transparent</style>
  28.         <autoSelect> <false /> </autoSelect>
  29.         <showLines> <false /> </showLines>
  30.         <wideMargins> <false /> </wideMargins>
  31.         <multipleLines> <false /> </multipleLines>
  32.         <reservedFamily> 0 </reservedFamily>
  33.         <titleWidth>0</titleWidth>
  34.         <icon>0</icon>
  35.         <textAlign>forceLeft</textAlign>
  36.         <font>C Futura Condensed</font>
  37.         <textSize>12</textSize>
  38.         <textStyle>extend</textStyle>
  39.         <textHeight>16</textHeight>
  40.         <name>cardNo</name>
  41.         <script></script>
  42.     </part>
  43.     <part>
  44.         <id>2</id>
  45.         <type>field</type>
  46.         <visible> <true /> </visible>
  47.         <dontWrap> <false /> </dontWrap>
  48.         <dontSearch> <false /> </dontSearch>
  49.         <sharedText> <false /> </sharedText>
  50.         <fixedLineHeight> <true /> </fixedLineHeight>
  51.         <autoTab> <false /> </autoTab>
  52.         <lockText> <true /> </lockText>
  53.         <rect>
  54.             <left>224</left>
  55.             <top>40</top>
  56.             <right>625</right>
  57.             <bottom>97</bottom>
  58.         </rect>
  59.         <style>transparent</style>
  60.         <autoSelect> <false /> </autoSelect>
  61.         <showLines> <false /> </showLines>
  62.         <wideMargins> <false /> </wideMargins>
  63.         <multipleLines> <false /> </multipleLines>
  64.         <reservedFamily> 0 </reservedFamily>
  65.         <titleWidth>0</titleWidth>
  66.         <icon>0</icon>
  67.         <textAlign>left</textAlign>
  68.         <font>Aplgaram</font>
  69.         <textSize>24</textSize>
  70.         <textStyle>plain</textStyle>
  71.         <textHeight>26</textHeight>
  72.         <name>subHead</name>
  73.         <script></script>
  74.     </part>
  75.     <part>
  76.         <id>5</id>
  77.         <type>button</type>
  78.         <visible> <true /> </visible>
  79.         <reserved5> 0 </reserved5>
  80.         <reserved4> 0 </reserved4>
  81.         <reserved3> 0 </reserved3>
  82.         <reserved2> 0 </reserved2>
  83.         <reserved1> 0 </reserved1>
  84.         <enabled> <true /> </enabled>
  85.         <rect>
  86.             <left>431</left>
  87.             <top>440</top>
  88.             <right>465</right>
  89.             <bottom>474</bottom>
  90.         </rect>
  91.         <style>opaque</style>
  92.         <showName> <false /> </showName>
  93.         <highlight> <false /> </highlight>
  94.         <autoHighlight> <true /> </autoHighlight>
  95.         <sharedHighlight> <true /> </sharedHighlight>
  96.         <family>0</family>
  97.         <titleWidth>0</titleWidth>
  98.         <icon>18627</icon>
  99.         <textAlign>center</textAlign>
  100.         <font>Chicago</font>
  101.         <textSize>12</textSize>
  102.         <textStyle>plain</textStyle>
  103.         <name>menu</name>
  104.         <script>on mouseUp
  105. showMenu
  106. end mouseUp</script>
  107.     </part>
  108.     <part>
  109.         <id>6</id>
  110.         <type>button</type>
  111.         <visible> <true /> </visible>
  112.         <reserved5> 0 </reserved5>
  113.         <reserved4> 0 </reserved4>
  114.         <reserved3> 0 </reserved3>
  115.         <reserved2> 0 </reserved2>
  116.         <reserved1> 0 </reserved1>
  117.         <enabled> <true /> </enabled>
  118.         <rect>
  119.             <left>471</left>
  120.             <top>440</top>
  121.             <right>505</right>
  122.             <bottom>474</bottom>
  123.         </rect>
  124.         <style>opaque</style>
  125.         <showName> <false /> </showName>
  126.         <highlight> <false /> </highlight>
  127.         <autoHighlight> <true /> </autoHighlight>
  128.         <sharedHighlight> <true /> </sharedHighlight>
  129.         <family>0</family>
  130.         <titleWidth>0</titleWidth>
  131.         <icon>8653</icon>
  132.         <textAlign>center</textAlign>
  133.         <font>Chicago</font>
  134.         <textSize>12</textSize>
  135.         <textStyle>plain</textStyle>
  136.         <name>help</name>
  137.         <script>on mouseUp
  138. doStackHelp
  139. end mouseUp
  140. </script>
  141.     </part>
  142.     <part>
  143.         <id>7</id>
  144.         <type>button</type>
  145.         <visible> <true /> </visible>
  146.         <reserved5> 0 </reserved5>
  147.         <reserved4> 0 </reserved4>
  148.         <reserved3> 0 </reserved3>
  149.         <reserved2> 0 </reserved2>
  150.         <reserved1> 0 </reserved1>
  151.         <enabled> <true /> </enabled>
  152.         <rect>
  153.             <left>511</left>
  154.             <top>440</top>
  155.             <right>545</right>
  156.             <bottom>474</bottom>
  157.         </rect>
  158.         <style>opaque</style>
  159.         <showName> <false /> </showName>
  160.         <highlight> <false /> </highlight>
  161.         <autoHighlight> <true /> </autoHighlight>
  162.         <sharedHighlight> <true /> </sharedHighlight>
  163.         <family>0</family>
  164.         <titleWidth>0</titleWidth>
  165.         <icon>18622</icon>
  166.         <textAlign>center</textAlign>
  167.         <font>Chicago</font>
  168.         <textSize>12</textSize>
  169.         <textStyle>plain</textStyle>
  170.         <name>prev</name>
  171.         <script>on mouseUp
  172. visual wipe right fast
  173. go prev card
  174. end mouseUp
  175. </script>
  176.     </part>
  177.     <part>
  178.         <id>8</id>
  179.         <type>button</type>
  180.         <visible> <true /> </visible>
  181.         <reserved5> 0 </reserved5>
  182.         <reserved4> 0 </reserved4>
  183.         <reserved3> 0 </reserved3>
  184.         <reserved2> 0 </reserved2>
  185.         <reserved1> 0 </reserved1>
  186.         <enabled> <true /> </enabled>
  187.         <rect>
  188.             <left>551</left>
  189.             <top>440</top>
  190.             <right>585</right>
  191.             <bottom>474</bottom>
  192.         </rect>
  193.         <style>opaque</style>
  194.         <showName> <false /> </showName>
  195.         <highlight> <false /> </highlight>
  196.         <autoHighlight> <true /> </autoHighlight>
  197.         <sharedHighlight> <true /> </sharedHighlight>
  198.         <family>0</family>
  199.         <titleWidth>0</titleWidth>
  200.         <icon>18623</icon>
  201.         <textAlign>center</textAlign>
  202.         <font>Chicago</font>
  203.         <textSize>12</textSize>
  204.         <textStyle>plain</textStyle>
  205.         <name>next</name>
  206.         <script>on mouseUp
  207. visual wipe left fast
  208. go next card
  209. end mouseUp
  210. </script>
  211.     </part>
  212.     <part>
  213.         <id>9</id>
  214.         <type>button</type>
  215.         <visible> <true /> </visible>
  216.         <reserved5> 0 </reserved5>
  217.         <reserved4> 0 </reserved4>
  218.         <reserved3> 0 </reserved3>
  219.         <reserved2> 0 </reserved2>
  220.         <reserved1> 0 </reserved1>
  221.         <enabled> <true /> </enabled>
  222.         <rect>
  223.             <left>591</left>
  224.             <top>440</top>
  225.             <right>625</right>
  226.             <bottom>474</bottom>
  227.         </rect>
  228.         <style>opaque</style>
  229.         <showName> <false /> </showName>
  230.         <highlight> <false /> </highlight>
  231.         <autoHighlight> <true /> </autoHighlight>
  232.         <sharedHighlight> <true /> </sharedHighlight>
  233.         <family>0</family>
  234.         <titleWidth>0</titleWidth>
  235.         <icon>18624</icon>
  236.         <textAlign>center</textAlign>
  237.         <font>Chicago</font>
  238.         <textSize>12</textSize>
  239.         <textStyle>plain</textStyle>
  240.         <name>return</name>
  241.         <script>on mouseUp
  242. returnTo
  243. end mouseUp
  244. </script>
  245.     </part>
  246.     <part>
  247.         <id>11</id>
  248.         <type>button</type>
  249.         <visible> <true /> </visible>
  250.         <reserved5> 0 </reserved5>
  251.         <reserved4> 0 </reserved4>
  252.         <reserved3> 0 </reserved3>
  253.         <reserved2> 0 </reserved2>
  254.         <reserved1> 0 </reserved1>
  255.         <enabled> <true /> </enabled>
  256.         <rect>
  257.             <left>610</left>
  258.             <top>5</top>
  259.             <right>634</right>
  260.             <bottom>29</bottom>
  261.         </rect>
  262.         <style>transparent</style>
  263.         <showName> <false /> </showName>
  264.         <highlight> <false /> </highlight>
  265.         <autoHighlight> <false /> </autoHighlight>
  266.         <sharedHighlight> <false /> </sharedHighlight>
  267.         <family>0</family>
  268.         <titleWidth>0</titleWidth>
  269.         <icon>32050</icon>
  270.         <textAlign>center</textAlign>
  271.         <font>Chicago</font>
  272.         <textSize>12</textSize>
  273.         <textStyle>plain</textStyle>
  274.         <name>cardMark</name>
  275.         <script>on mouseUp
  276. makeAMark
  277. end mouseUp</script>
  278.     </part>
  279.     <part>
  280.         <id>13</id>
  281.         <type>field</type>
  282.         <visible> <true /> </visible>
  283.         <dontWrap> <false /> </dontWrap>
  284.         <dontSearch> <false /> </dontSearch>
  285.         <sharedText> <false /> </sharedText>
  286.         <fixedLineHeight> <true /> </fixedLineHeight>
  287.         <autoTab> <false /> </autoTab>
  288.         <lockText> <true /> </lockText>
  289.         <rect>
  290.             <left>224</left>
  291.             <top>105</top>
  292.             <right>625</right>
  293.             <bottom>415</bottom>
  294.         </rect>
  295.         <style>transparent</style>
  296.         <autoSelect> <false /> </autoSelect>
  297.         <showLines> <false /> </showLines>
  298.         <wideMargins> <false /> </wideMargins>
  299.         <multipleLines> <false /> </multipleLines>
  300.         <reservedFamily> 0 </reservedFamily>
  301.         <titleWidth>0</titleWidth>
  302.         <icon>0</icon>
  303.         <textAlign>left</textAlign>
  304.         <font>Aplgaram</font>
  305.         <textSize>16</textSize>
  306.         <textStyle>plain</textStyle>
  307.         <textHeight>18</textHeight>
  308.         <name>text2</name>
  309.         <script>on mouseUp
  310. fieldLink
  311. end mouseUp</script>
  312.     </part>
  313.     <part>
  314.         <id>14</id>
  315.         <type>field</type>
  316.         <visible> <true /> </visible>
  317.         <dontWrap> <false /> </dontWrap>
  318.         <dontSearch> <false /> </dontSearch>
  319.         <sharedText> <false /> </sharedText>
  320.         <fixedLineHeight> <true /> </fixedLineHeight>
  321.         <autoTab> <false /> </autoTab>
  322.         <lockText> <true /> </lockText>
  323.         <rect>
  324.             <left>23</left>
  325.             <top>213</top>
  326.             <right>216</right>
  327.             <bottom>414</bottom>
  328.         </rect>
  329.         <style>transparent</style>
  330.         <autoSelect> <false /> </autoSelect>
  331.         <showLines> <false /> </showLines>
  332.         <wideMargins> <false /> </wideMargins>
  333.         <multipleLines> <false /> </multipleLines>
  334.         <reservedFamily> 0 </reservedFamily>
  335.         <titleWidth>0</titleWidth>
  336.         <icon>0</icon>
  337.         <textAlign>left</textAlign>
  338.         <font>C Futura Condensed</font>
  339.         <textSize>14</textSize>
  340.         <textStyle>extend</textStyle>
  341.         <textHeight>18</textHeight>
  342.         <name>instructions</name>
  343.         <script>on mouseUp
  344. fieldLink
  345. end mouseUp</script>
  346.     </part>
  347.     <name>Evaluation</name>
  348.     <script>--  ‚Äî‚Äî‚Äî‚Äî‚Äî‚Äî‚Äî‚Äî‚Äî‚Äî‚Äî‚Äî‚Äî‚Äî‚Äî‚Äî‚Äî‚Äî‚Äî‚Äî‚Äî‚Äî‚Äî‚Äî‚Äî‚Äî‚Äî‚Äî‚Äî‚Äî‚Äî‚Äî‚Äî‚Äî‚Äî‚Äî‚Äî‚Äî‚Äî‚Äî‚Äî‚Äî‚Äî‚Äî‚Äî‚Äî‚Äî‚Äî‚Äî‚Äî‚Äî‚Äî‚Äî‚Äî‚Äî‚Äî‚Äî‚Äî‚Äî‚Äî‚Äî‚Äî‚Äî‚Äî‚Äî‚Äî‚Äî‚Äî‚Äî‚Äî‚Äî‚Äî‚Äî‚Äî‚Äî‚Äî‚Äî‚Äî‚Äî
  349. --  handlers for the Evaluation section
  350. --  ‚Äî‚Äî‚Äî‚Äî‚Äî‚Äî‚Äî‚Äî‚Äî‚Äî‚Äî‚Äî‚Äî‚Äî‚Äî‚Äî‚Äî‚Äî‚Äî‚Äî‚Äî‚Äî‚Äî‚Äî‚Äî‚Äî‚Äî‚Äî‚Äî‚Äî‚Äî‚Äî‚Äî‚Äî‚Äî‚Äî‚Äî‚Äî‚Äî‚Äî‚Äî‚Äî‚Äî‚Äî‚Äî‚Äî‚Äî‚Äî‚Äî‚Äî‚Äî‚Äî‚Äî‚Äî‚Äî‚Äî‚Äî‚Äî‚Äî‚Äî‚Äî‚Äî‚Äî‚Äî‚Äî‚Äî‚Äî‚Äî‚Äî‚Äî‚Äî‚Äî‚Äî‚Äî‚Äî‚Äî‚Äî‚Äî‚Äî
  351.  
  352. --  clear counters ‚Äî‚Äî‚Äî‚Äî‚Äî‚Äî‚Äî‚Äî‚Äî‚Äî‚Äî‚Äî‚Äî‚Äî‚Äî‚Äî‚Äî‚Äî‚Äî‚Äî‚Äî‚Äî‚Äî‚Äî‚Äî‚Äî‚Äî‚Äî‚Äî‚Äî‚Äî‚Äî‚Äî‚Äî‚Äî‚Äî‚Äî‚Äî‚Äî‚Äî‚Äî‚Äî‚Äî‚Äî‚Äî‚Äî‚Äî‚Äî‚Äî‚Äî‚Äî‚Äî‚Äî‚Äî‚Äî‚Äî‚Äî‚Äî‚Äî‚Äî‚Äî‚Äî‚Äî‚Äî
  353. on openCard
  354. global howManyTries, thisQuestion
  355. put empty into howManyTries
  356. put empty into thisQuestion
  357. pass openCard
  358. end openCard
  359.  
  360. -- handler for text answers ‚Äî‚Äî‚Äî‚Äî‚Äî‚Äî‚Äî‚Äî‚Äî‚Äî‚Äî‚Äî‚Äî‚Äî‚Äî‚Äî‚Äî‚Äî‚Äî‚Äî‚Äî‚Äî‚Äî‚Äî‚Äî‚Äî‚Äî‚Äî‚Äî‚Äî‚Äî‚Äî‚Äî‚Äî‚Äî‚Äî‚Äî‚Äî‚Äî‚Äî‚Äî‚Äî‚Äî‚Äî‚Äî‚Äî‚Äî‚Äî‚Äî‚Äî‚Äî‚Äî‚Äî‚Äî‚Äî
  361.  
  362. --  check the answer
  363. on checkAnswer allowableGoofs,howManyAnswers,thisAnswer,whatSound
  364. global evaluationLC, howManyTries, thisQuestion
  365. play stop
  366. if thisAnswer is in thisQuestion then
  367. answer "You already answered that one."
  368. exit checkAnswer
  369. end if
  370. put howManyTries + 1 into howManyTries
  371.  
  372. if howManyTries > allowableGoofs or the short name of this card is in evaluationLC then
  373. answer "You have completed this question."
  374. else if howManyTries = allowableGoofs then
  375. if the textStyle of the clickChunk is group then
  376. play "betterAnswer"
  377. goodQuestion howManyAnswers,thisAnswer
  378. else
  379. play whatSound
  380. put the short name of this card & "-too many tries," after evaluationLC
  381. end if
  382. else if howManyTries > allowableGoofs / 2 then
  383. if the textStyle of the clickChunk is group then
  384. play "goodAnswer"
  385. goodQuestion howManyAnswers,thisAnswer
  386. else
  387. play "noTryAgain"
  388. end if
  389. else
  390. if the textStyle of the clickChunk is group then
  391. play "yesAnswer"
  392. goodQuestion howManyAnswers,thisAnswer
  393. else
  394. play "sorryTryAgain"
  395. end if
  396. end if
  397. end checkAnswer
  398.  
  399. --  credit the answer
  400. on goodQuestion howManyAnswers,thisAnswer
  401. global evaluationLC, thisQuestion, howManyTries
  402. if the number of items in thisQuestion = howManyAnswers - 1 then
  403. put the short name of this card & "-" & howManyTries && "tries," after evaluationLC
  404. else if thisAnswer ‚↠0 then
  405. put thisAnswer & "," after thisQuestion
  406. else
  407. put "x," after thisQuestion
  408. end if
  409. end goodQuestion</script>
  410. </background>
  411.